// JavaScript Document
/*
$(document).ready(function(){
	$("#filter-by-date").bind("click",function() {
											$('#aa').dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_RIGHT);
											   });

}); 
*/
$(function()
{
	$('#filter-from').datePicker()
					.bind(
						  'click',
						  function()  {
							  $(this).dpDisplay();
							  this.blur();
							  return false;
						  })
					.bind(
						  'dateSelected',
							function(e, selectedDate, $td){
								//console.log('You selected ' + selectedDate);
								$('#filter-to').dpDisplay();
							}

);
	$('#filter-to').datePicker();
});

function aa() {
	$('#filter-to').dpDisplay();
	
}